package com.atguigu.springcloud.service.impl;

import com.atguigu.springcloud.pojo.Employee;
import com.atguigu.springcloud.service.LoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collection;

@Service
public class LoginServiceImpl implements LoginService {

    @Resource
    private LoginService loginService;

    @Override
    public Collection<Employee> list() {
        return loginService.list();
    }
}
